package com.my.jli.dao;

import com.my.jli.entity.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @ClassName TeacherRepository
 * @Description
 * @Author MaYu
 * @Date 2022/1/27 19:26
 * @Version 1.0
 **/
public interface TeacherRepository extends JpaRepository<Teacher, Integer> {
    List<Teacher> findByNumAndPwd(String num, String pwd);
}
